import request from '@/utils/request'

// 查询账号荧光棒明细列表
export function listUserLightStack(query) {
  return request({
    url: '/system/userLightStack/list',
    method: 'get',
    params: query
  })
}

// 查询账号荧光棒明细详细
export function getUserLightStack(id) {
  return request({
    url: '/system/userLightStack/' + id,
    method: 'get'
  })
}

// 新增账号荧光棒明细
export function addUserLightStack(data) {
  return request({
    url: '/system/userLightStack',
    method: 'post',
    data: data
  })
}

// 修改账号荧光棒明细
export function updateUserLightStack(data) {
  return request({
    url: '/system/userLightStack',
    method: 'put',
    data: data
  })
}

// 删除账号荧光棒明细
export function delUserLightStack(id) {
  return request({
    url: '/system/userLightStack/' + id,
    method: 'delete'
  })
}

// 导出账号荧光棒明细
export function exportUserLightStack(query) {
  return request({
    url: '/system/userLightStack/export',
    method: 'get',
    params: query
  })
}